﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.IO;

namespace EITSurferInfinityLib
{
    public class FramesReader
    {
        /// <summary>
        /// Point toward target directory
        /// </summary>
       public  string DirPath;
        /// <summary>
        /// Current file index
        /// </summary>
        int CounterFile;
        /// <summary>
        /// Current position in the current file 
        /// </summary>
        int CounterInFile;
        /// <summary>
        /// Maximum number of frames per file .frames
        /// </summary>
        int MaxNumberFile;
        /// <summary>
        /// Extension of the files
        /// </summary>
        string Extension;
        /// <summary>
        /// File name
        /// </summary>
        string FileName;
        /// <summary>
        /// name  of the manifest file
        /// </summary>
        string ManifestName;

        List<int> Manifest;

        #region public methods
        public FramesReader()
        {
            DirPath = "temp\\last\\";
            CounterFile = 0;
            CounterInFile = 0;
            MaxNumberFile = 100;
            FileName = "data";
            Extension = ".frames";
            ManifestName = "manifest.dat";
            Manifest = new List<int>();

            //Setup();
        }
        #endregion

        #region private methods
        #endregion
    }
}
